package cn.c3n.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HelloCController {

    @RequestMapping(value = "/hello2", method = RequestMethod.GET)
    public String hello()
    {
        return "index";
    }
}
